home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ImageMagick / magick / Imakefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  2.9 KB  |  89 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. XCOMM
  6. XCOMM Imakefile for display, animate, montage, and import.
  7. XCOMM
  8. XCOMM Copyright 1994 E. I. du Pont de Nemours & Company
  9. XCOMM
  10. XCOMM Permission to use, copy, modify, distribute, and sell this software and
  11. XCOMM its documentation for any purpose is hereby granted without fee,
  12. XCOMM provided that the above Copyright notice appear in all copies and that
  13. XCOMM both that Copyright notice and this permission notice appear in
  14. XCOMM supporting documentation, and that the name of E. I. du Pont de Nemours
  15. XCOMM & Company not be used in advertising or publicity pertaining to
  16. XCOMM distribution of the software without specific, written prior
  17. XCOMM permission.  E. I. du Pont de Nemours & Company makes no representations
  18. XCOMM about the suitability of this software for any purpose.  It is provided
  19. XCOMM "as is" without express or implied warranty.
  20. XCOMM
  21. XCOMM E. I. du Pont de Nemours & Company disclaims all warranties with regard
  22. XCOMM to this software, including all implied warranties of merchantability
  23. XCOMM and fitness, in no event shall E. I. du Pont de Nemours & Company be
  24. XCOMM liable for any special, indirect or consequential damages or any
  25. XCOMM damages whatsoever resulting from loss of use, data or profits, whether
  26. XCOMM in an action of contract, negligence or other tortious action, arising
  27. XCOMM out of or in connection with the use or performance of this software.
  28. XCOMM
  29.  
  30. #include "../Magick.tmpl"
  31.  
  32. #define DoNormalLib NormalLibX
  33.  
  34. #if (ProjectX < 5)
  35.     STD_DEFINES = LibraryDefines
  36.     CDEBUGFLAGS = LibraryCDebugFlags
  37. #else
  38. #include <Library.tmpl>
  39. #endif
  40.  
  41. #ifdef RsArchitecture
  42. REQUIREDLIBS = $(REQUIRED_LIBRARIES) -lXext -lX11
  43. #endif
  44.  
  45. #ifdef AlphaArchitecture
  46. SO_REQLIBS=-lX11 -lc
  47. #endif
  48.  
  49. SOMAGICKLIBREV = 3.7
  50.  
  51. HEADERS = magick.h image.h compress.h utility.h X.h widget.h PreRvIcccm.h
  52.  
  53. SRCS = widget.c X.c image.c shear.c quantize.c colors.c signature.c \
  54.   decode.c encode.c compress.c utility.c error.c PreRvIcccm.c
  55. OBJS = widget.o X.o image.o shear.o quantize.o colors.o signature.o \
  56.   decode.o encode.o compress.o utility.o error.o PreRvIcccm.o
  57.  
  58. #if (ProjectX < 5)
  59. #if DoSharedLib
  60.   SharedLibraryObjectRule()
  61.   NormalSharedLibraryTarget(Magick,$(SOMAGICKLIBREV),$(OBJS))
  62.   InstallSharedLibrary(Magick,$(SOMAGICKLIBREV),$(LOCALLIB))
  63. #else
  64.   NormalLibraryObjectRule()
  65. #endif
  66.   NormalLibraryTarget(Magick,$(OBJS))
  67.   InstallLibrary(Magick,$(LOCALLIB))
  68. #else
  69.   LibraryObjectRule()
  70. #if DoSharedLib
  71. #if DoNormalLib
  72.   SharedLibraryTarget(Magick,$(SOMAGICKLIBREV),$(OBJS),shared,..)
  73. #else
  74.   SharedLibraryTarget(Magick,$(SOMAGICKLIBREV),$(OBJS),.,.)
  75. #endif
  76.   InstallSharedLibrary(Magick,$(SOMAGICKLIBREV),$(LOCALLIB))
  77. #endif
  78. #if DoNormalLib
  79.   NormalLibraryTarget(Magick,$(OBJS))
  80.   InstallLibrary(Magick,$(LOCALLIB))
  81. #endif
  82. #endif 
  83.  
  84. InstallMultiple($(HEADERS),$(LOCALINC))
  85. LintLibraryTarget(Magick,$(SRCS))
  86. InstallLintLibrary(Magick,$(LINTLIBDIR))
  87. DependTarget()
  88. NormalLintTarget($(SRCS))
  89.